package com.jackchong.utils;

import android.view.View;

/**
 * 作者: jack(黄冲)
 * 邮箱: 907755845@qq.com
 * create on 2018/9/28 10:40
 */

public interface ItemViewDelegate<T> {

    int getItemViewLayoutId();

    boolean isForViewType(T item, int position);

    void onCreateView(ViewHolder viewHolder, View convertView, int position);

    void convert(ViewHolder holder, T t, int position);

}
